package linear.tree;

/**
 * @Author: fzykd
 * Date: 2024-04-12
 * Time: 20:44
 * User: LQH
 */


public class TreeMain {
    public static void main(String[] args) {
        BinaryTree tree = new BinaryTree();
        Node node = tree.create();

        //前序遍历
        tree.preOrder(node);
        System.out.println();
        //中
        tree.inOrder(node);
        System.out.println();
        //后
        tree.postOrder(node);


    }
}
